package com.tm.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tm.media.model.entity.NewsEntity;
import com.tm.media.utils.utils.PageUtil;
import com.tm.media.utils.utils.Result;

/**
 * @Author Ly
 * @Data 2023/2/22 14:14
 * @ClassName NewsService
 */
public interface NewsService extends IService<NewsEntity> {
    Result newList(PageUtil pageUtil);

    Result submit(NewsEntity newsEntity);

    Result del_news(NewsEntity newsEntity);

    Result news(NewsEntity newsEntity);
}
